var limsEquipment = Gikam.getPageObject({

    getEditListColumns: function () {
        return [{checkbox: true}, {index: true}, {
            field: 'equipCode',
            title: 'T_LIMS_EQUIPMENT.EQUIPCODE',
            type: 'link',
            validators: ['strLength[0,16]', 'notEmpty', 'remote[/secure/basemodule/rm/equipments/action/validate-unique]'],
        }, {
            field: 'fixedAssetNum',
            title: 'T_LIMS_EQUIPMENT.FIXEDASSETNUM',
            validators: ['strLength[0,16]']
        }, {
            field: 'equipName',
            title: 'T_LIMS_EQUIPMENT.EQUIPNAME',
            validators: ['strLength[0,33]', 'notEmpty']
        }, {
            field: 'equipEngName',
            title: 'T_LIMS_EQUIPMENT.EQUIPENGNAME',
            validators: ['strLength[0,50]']
        }, {
            field: 'specificationModel',
            title: 'T_LIMS_EQUIPMENT.SPECIFICATIONMODEL',
            validators: ['strLength[0,16]']
        }, {
            field: 'equipClass',
            title: 'T_LIMS_EQUIPMENT.EQUIPCLASS',
            validators: ['strLength[0,10]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'eqClass'
            }
        }, {
            field: 'measureFlag',
            title: 'T_LIMS_EQUIPMENT.MEASUREFLAG',
            validators: ['strLength[0,1]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'yesorno'
            }
        }, {
            field: 'organisation',
            title: 'T_LIMS_EQUIPMENT.ORGANISATION',
            validators: ['strLength[0,90]']
        }, {
            field: 'certificateCode',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATECODE',
            validators: ['strLength[0,16]']
        }, {
            field: 'certificateType',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATETYPE',
            validators: ['strLength[0,10]']
        }, {
            field: 'equipState',
            title: 'T_LIMS_EQUIPMENT.EQUIPSTATE',
            validators: ['strLength[0,6]'],
            type: 'select',
            search: true,
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'equipState'
            },
        }, {
            field: 'manufacturer',
            title: 'T_LIMS_EQUIPMENT.MANUFACTURER',
            validators: ['strLength[0,90]']
        }, {
            field: 'factoryDate',
            title: 'T_LIMS_EQUIPMENT.FACTORYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'buyDate',
            title: 'T_LIMS_EQUIPMENT.BUYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'arrivalDate',
            title: 'T_LIMS_EQUIPMENT.ARRIVALDATE',
            type: 'date',
            width: 140
        }, {
            field: 'openDate',
            title: 'T_LIMS_EQUIPMENT.OPENDATE',
            type: 'date',
            width: 140
        }, {
            field: 'installationDate',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONDATE',
            type: 'date',
            width: 140
        }, {
            field: 'installationLimsPerson',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONLIMSPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'acceptDate',
            title: 'T_LIMS_EQUIPMENT.ACCEPTDATE',
            type: 'date',
            width: 140
        }, {
            field: 'warrantyExpiryDate',
            title: 'T_LIMS_EQUIPMENT.WARRANTYEXPIRYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'useDept',
            title: 'T_LIMS_EQUIPMENT.USEDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'location',
            title: 'T_LIMS_EQUIPMENT.LOCATION',
            validators: ['strLength[0,33]']
        }, {
            field: 'depositoryPerson',
            title: 'T_LIMS_EQUIPMENT.DEPOSITORYPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'installDept',
            title: 'T_LIMS_EQUIPMENT.INSTALLDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'remarks',
            title: 'T_LIMS_EQUIPMENT.REMARKS',
            validators: ['strLength[0,66]']
        },]
    },

    getBaseInfoFormFields: function () {
        return [{
            field: 'equipCode',
            title: 'T_LIMS_EQUIPMENT.EQUIPCODE',
            validators: ['strLength[0,16]', 'notEmpty', 'remote[/secure/basemodule/rm/equipments/action/validate-unique]'],
            preInsert: true
        }, {
            field: 'fixedAssetNum',
            title: 'T_LIMS_EQUIPMENT.FIXEDASSETNUM',
            validators: ['strLength[0,16]']
        }, {
            field: 'equipName',
            title: 'T_LIMS_EQUIPMENT.EQUIPNAME',
            validators: ['strLength[0,33]', 'notEmpty'],
            preInsert: true
        }, {
            field: 'equipEngName',
            title: 'T_LIMS_EQUIPMENT.EQUIPENGNAME',
            validators: ['strLength[0,50]']
        }, {
            field: 'specificationModel',
            title: 'T_LIMS_EQUIPMENT.SPECIFICATIONMODEL',
            validators: ['strLength[0,16]']
        }, {
            field: 'equipClass',
            title: 'T_LIMS_EQUIPMENT.EQUIPCLASS',
            validators: ['strLength[0,10]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'eqClass'
            }
        }, {
            field: 'measureFlag',
            title: 'T_LIMS_EQUIPMENT.MEASUREFLAG',
            validators: ['strLength[0,1]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'yesorno'
            }
        }, {
            field: 'organisation',
            title: 'T_LIMS_EQUIPMENT.ORGANISATION',
            validators: ['strLength[0,90]']
        }, {
            field: 'certificateCode',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATECODE',
            validators: ['strLength[0,16]']
        }, {
            field: 'certificateType',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATETYPE',
            validators: ['strLength[0,10]']
        }, {
            field: 'equipState',
            title: 'T_LIMS_EQUIPMENT.EQUIPSTATE',
            validators: ['strLength[0,16]'],
            type: 'select',
            search: true,
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'equipState'
            },
        }, {
            field: 'manufacturer',
            title: 'T_LIMS_EQUIPMENT.MANUFACTURER',
            validators: ['strLength[0,90]']
        }, {
            field: 'factoryDate',
            title: 'T_LIMS_EQUIPMENT.FACTORYDATE',
            type: 'date'
        }, {
            field: 'buyDate',
            title: 'T_LIMS_EQUIPMENT.BUYDATE',
            type: 'date'
        }, {
            field: 'arrivalDate',
            title: 'T_LIMS_EQUIPMENT.ARRIVALDATE',
            type: 'date'
        }, {
            field: 'openDate',
            title: 'T_LIMS_EQUIPMENT.OPENDATE',
            type: 'date'
        }, {
            field: 'installationDate',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONDATE',
            type: 'date'
        }, {
            field: 'installationLimsPerson',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONLIMSPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'acceptDate',
            title: 'T_LIMS_EQUIPMENT.ACCEPTDATE',
            type: 'date'
        }, {
            field: 'warrantyExpiryDate',
            title: 'T_LIMS_EQUIPMENT.WARRANTYEXPIRYDATE',
            type: 'date'
        }, {
            field: 'useDept',
            title: 'T_LIMS_EQUIPMENT.USEDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'location',
            title: 'T_LIMS_EQUIPMENT.LOCATION',
            validators: ['strLength[0,33]']
        }, {
            field: 'depositoryPerson',
            title: 'T_LIMS_EQUIPMENT.DEPOSITORYPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'installDept',
            title: 'T_LIMS_EQUIPMENT.INSTALLDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'remarks',
            title: 'T_LIMS_EQUIPMENT.REMARKS',
            validators: ['strLength[0,66]']
        },]
    },

    getChooseListColumns: function () {
        return [{index: true},{
            field: 'equipCode',
            title: 'T_LIMS_EQUIPMENT.EQUIPCODE',
            validators: ['strLength[0,16]', 'notEmpty', 'remote[/secure/basemodule/rm/equipments/action/validate-unique]'],
        }, {
            field: 'fixedAssetNum',
            title: 'T_LIMS_EQUIPMENT.FIXEDASSETNUM',
            validators: ['strLength[0,16]']
        }, {
            field: 'equipName',
            title: 'T_LIMS_EQUIPMENT.EQUIPNAME',
            validators: ['strLength[0,33]']
        }, /*{
            field: 'equipEngName',
            title: 'T_LIMS_EQUIPMENT.EQUIPENGNAME',
            validators: ['strLength[0,50]']
        }, *//*{
            field: 'specificationModel',
            title: 'T_LIMS_EQUIPMENT.SPECIFICATIONMODEL',
            validators: ['strLength[0,16]']
        }, */{
            field: 'equipClass',
            title: 'T_LIMS_EQUIPMENT.EQUIPCLASS',
            validators: ['strLength[0,10]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'eqClass'
            }
        }, /*{
            field: 'measureFlag',
            title: 'T_LIMS_EQUIPMENT.MEASUREFLAG',
            validators: ['strLength[0,1]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'yesorno'
            }
        },*/ /*{
            field: 'organisation',
            title: 'T_LIMS_EQUIPMENT.ORGANISATION',
            validators: ['strLength[0,90]']
        },*/ /*{
            field: 'certificateCode',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATECODE',
            validators: ['strLength[0,16]']
        }, {
            field: 'certificateType',
            title: 'T_LIMS_EQUIPMENT.CERTIFICATETYPE',
            validators: ['strLength[0,10]']
        },*/ {
            field: 'equipState',
            title: 'T_LIMS_EQUIPMENT.EQUIPSTATE',
            validators: ['strLength[0,6]'],
            type: 'select',
            search: true,
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'equipState',
                code_EQ: "normal"
            },
        }, /*{
            field: 'manufacturer',
            title: 'T_LIMS_EQUIPMENT.MANUFACTURER',
            validators: ['strLength[0,90]']
        }, {
            field: 'factoryDate',
            title: 'T_LIMS_EQUIPMENT.FACTORYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'buyDate',
            title: 'T_LIMS_EQUIPMENT.BUYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'arrivalDate',
            title: 'T_LIMS_EQUIPMENT.ARRIVALDATE',
            type: 'date',
            width: 140
        }, {
            field: 'openDate',
            title: 'T_LIMS_EQUIPMENT.OPENDATE',
            type: 'date',
            width: 140
        }, {
            field: 'installationDate',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONDATE',
            type: 'date',
            width: 140
        }, {
            field: 'installationLimsPerson',
            title: 'T_LIMS_EQUIPMENT.INSTALLATIONLIMSPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'acceptDate',
            title: 'T_LIMS_EQUIPMENT.ACCEPTDATE',
            type: 'date',
            width: 140
        }, {
            field: 'warrantyExpiryDate',
            title: 'T_LIMS_EQUIPMENT.WARRANTYEXPIRYDATE',
            type: 'date',
            width: 140
        }, {
            field: 'useDept',
            title: 'T_LIMS_EQUIPMENT.USEDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'location',
            title: 'T_LIMS_EQUIPMENT.LOCATION',
            validators: ['strLength[0,33]']
        }, {
            field: 'depositoryPerson',
            title: 'T_LIMS_EQUIPMENT.DEPOSITORYPERSON',
            validators: ['strLength[0,20]']
        }, {
            field: 'installDept',
            title: 'T_LIMS_EQUIPMENT.INSTALLDEPT',
            validators: ['strLength[0,90]']
        }, {
            field: 'remarks',
            title: 'T_LIMS_EQUIPMENT.REMARKS',
            validators: ['strLength[0,66]']
        }*/]
    },

    baseUrl: IFM_CONTEXT + '/secure/basemodule/rm/equipments',

    /**
     * 仪器配件信息
     */
    getAccessoriesEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'name',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.NAME',
            validators: ['strLength[0,33]'],
            editor: true
        }, {
            field: 'specificationModel',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.SPECIFICATIONMODEL',
            validators: ['strLength[0,16]'],
            editor: true
        }, {
            field: 'amount',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.AMOUNT',
            validators: ['number'],
            editor: true
        }, {
            field: 'manufacturer',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.MANUFACTURER',
            validators: ['strLength[0,90]'],
            editor: true
        }, {
            field: 'other',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.OTHER',
            validators: ['strLength[0,66]'],
            editor: true
        },]
    },

    getAccessoriesBaseInfoFormFields: function () {
        return [{
            field: 'name',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.NAME',
            validators: ['strLength[0,33]'],
            preInsert: true
        }, {
            field: 'specificationModel',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.SPECIFICATIONMODEL',
            validators: ['strLength[0,16]'],
            preInsert: true
        }, {
            field: 'amount',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.AMOUNT',
            validators: ['number'],
            preInsert: true
        }, {
            field: 'manufacturer',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.MANUFACTURER',
            validators: ['strLength[0,90]'],
            preInsert: true
        }, {
            field: 'other',
            title: 'T_LIMS_EQUIPMENT_ACCESSORIES.OTHER',
            validators: ['strLength[0,66]'],
            preInsert: true
        },]
    },

    /**
     * 验收确认
     */
    getAcceptanceEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.TYPE'
        }, {
            field: 'cause',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CAUSE'
        }, {
            field: 'content',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONTENT'
        }, {
            field: 'confirmationDate',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMATIONDATE',
            type: 'dateTime',
            width: 140
        }, {
            field: 'confirmor',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMOR'
        }, {
            field: 'confirmDept',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMDEPT'
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONCLUSION'
        }]
    },

    getAcceptanceBaseInfoFormFields: function () {
        return [{
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.TYPE',
            validators: ['strLength[0,13]'],
            preInsert: true
        }, {
            field: 'cause',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CAUSE',
            validators: ['strLength[0,20]'],
            preInsert: true
        }, {
            field: 'content',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONTENT',
            validators: ['strLength[0,66]'],
            preInsert: true
        }, {
            field: 'confirmationDate',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMATIONDATE',
            type: 'dateTime',
            preInsert: true
        }, {
            field: 'confirmor',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMOR',
            validators: ['strLength[0,20]'],
            preInsert: true
        }, {
            field: 'confirmDept',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONFIRMDEPT',
            validators: ['strLength[0,90]'],
            preInsert: true
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_ACCEPTANCE.CONCLUSION',
            validators: ['strLength[0,53]'],
            preInsert: true
        },]
    },

    /**
     * 故障维修
     */
    getNewMaintainEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, /*{
            field: 'status',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.STATUS'
        },*/ {
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.TYPE',
            type: 'select',
            category: 'sys',
            param: {
                codeCategoryId: 'breakDownType'
            }
        }, {
            field: 'cause',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CAUSE'
        }, {
            field: 'content',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CONTENT'
        }, {
            field: 'reportName',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.REPORTNAME'
        }, {
            field: 'reportTime',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.REPORTTIME',
            validators: ['strLength[0,20]'],
            type: 'dateTime',
            width: 140
        }, {
            field: 'startTime',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.STARTTIME',
            validators: ['strLength[0,20]'],
            type: 'dateTime',
            editor: true,
            width: 140
        }, {
            field: 'endTime',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.ENDTIME',
            validators: ['strLength[0,20]'],
            type: 'dateTime',
            editor: true,
            width: 140
        }, {
            field: 'operator',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.OPERATOR',
            editor: true,
            validators: ['strLength[0,20]']
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CONCLUSION'
        }]
    },

    getNewMaintainBaseInfoFormFields: function () {
        return [{
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.TYPE',
            validators: ['strLength[0,13]'],
            preInsert: true,
            type: 'select',
            category: 'sys',
            param: {
                codeCategoryId: 'breakDownType'
            }
        }, {
            field: 'status',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.STATUS',
            validators: ['strLength[0,8]']
        }, {
            field: 'cause',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CAUSE',
            validators: ['strLength[0,50]'],
            preInsert: true
        }, {
            field: 'content',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CONTENT',
            validators: ['strLength[0,66]'],
            preInsert: true
        }, {
            field: 'reportName',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.REPORTNAME',
            validators: ['strLength[0,20]'],
            preInsert: true
        }, {
            field: 'operator',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.OPERATOR',
            validators: ['strLength[0,20]']
        }, {
            field: 'reportTime',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.REPORTTIME',
            validators: ['strLength[0,20]'],
            type: 'dateTime',
            preInsert: true
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_NEWMAINTAIN.CONCLUSION',
            preInsert: true,
            validators: ['strLength[0,53]']
        },]
    },

    /**
     * 计量记录
     */
    getMeasureEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_MEASURE.TYPE',
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'measureType'
            },
        }, /*{
            field: 'status',
            title: 'T_LIMS_EQUIPMENT_MEASURE.STATUS',
            type: 'select',
            category: 'sys',
            param: {
                codeCategoryId: 'measureStatus'
            }
        },*/ {
            field: 'cycle',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CYCLE'
        }, {
            field: 'calibraVerifica',
            editor: true,
            title: 'T_LIMS_EQUIPMENT_MEASURE.CALIBRAVERIFICA'
        }, {
            field: 'calibrationDate',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CALIBRATIONDATE',
            type: 'dateTime',
            editor: true,
            /*            onBeforeEditorRender: function (row) {
                            if (row.status == 'draft' || row.status == '新建') {
                                return true
                            } else {
                                return false
                            }
                        },*/
            width: 140
        }, {
            field: 'mechanism',
            title: 'T_LIMS_EQUIPMENT_MEASURE.MECHANISM',
            validators: ['strLength[0,90]'],
            editor: true,
            /*            onBeforeEditorRender: function (row) {
                            if (row.status === 'draft' || row.status === '新建') {
                                return true
                            } else {
                                return false
                            }
                        },*/
        }, {
            field: 'certificateNumber',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CERTIFICATENUMBER',
            validators: ['strLength[0,16]'],
            editor: true,
            /*            onBeforeEditorRender: function (row) {
                            if (row.status === 'draft' || row.status === '新建') {
                                return true
                            } else {
                                return false
                            }
                        },*/
        }, {
            field: 'nextCalibrationDate',
            title: 'T_LIMS_EQUIPMENT_MEASURE.NEXTCALIBRATIONDATE',
            type: 'date',
            editor: true,
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CONCLUSION',
            validators: ['strLength[0,53]'],
            editor: true,
            /*            onBeforeEditorRender: function (row) {
                            if (row.status === 'draft' || row.status === '新建') {
                                return true
                            } else {
                                return false
                            }
                        },*/
        },]
    },

    getMeasureBaseInfoFormFields: function () {
        return [{
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_MEASURE.TYPE',
            validators: ['strLength[0,13]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'measureType'
            },
            preInsert: true
        }, {
            field: 'cycle',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CYCLE',
            validators: ['strLength[0,8]'],
            preInsert: true
        }, {
            field: 'calibraVerifica',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CALIBRAVERIFICA',
            validators: ['strLength[0,16]'],
            preInsert: true
        }, {
            field: 'calibrationDate',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CALIBRATIONDATE',
            type: 'dateTime',
            preInsert: true,
        }, {
            field: 'mechanism',
            title: 'T_LIMS_EQUIPMENT_MEASURE.MECHANISM',
            validators: ['strLength[0,90]'],
            preInsert: true
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CONCLUSION',
            validators: ['strLength[0,53]'],
            preInsert: true
        }, {
            field: 'nextCalibrationDate',
            title: 'T_LIMS_EQUIPMENT_MEASURE.NEXTCALIBRATIONDATE',
            type: 'date',
            preInsert: true
        }, {
            field: 'certificateNumber',
            title: 'T_LIMS_EQUIPMENT_MEASURE.CERTIFICATENUMBER',
            validators: ['strLength[0,16]'],
            preInsert: true
        },]
    },

    /**
     * 维保记录
     */
    getMaintainEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, /*{
            field: 'status',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.STATUS',
            type: 'select',
            category: 'sys',
            param: {
                codeCategoryId: 'measureStatus'
            }
        },*/ {
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.TYPE',
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'maintainType'
            }
        }, {
            field: 'maintainCycle',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINCYCLE'
        }, {
            field: 'maintainProject',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINPROJECT'
        }, {
            field: 'maintainTime',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINTIME',
            type: 'dateTime',
            editor: true,
            width: 140
        }, {
            field: 'maintainPerson',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINPERSON',
            editor: true,
            validators: ['strLength[0,40]']
        }, {
            field: 'auditor',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.AUDITOR',
            editor: true,
            validators: ['strLength[0,20]']
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.CONCLUSION',
            editor: true,
            validators: ['strLength[0,53]']
        }]
    },

    getMaintainBaseInfoFormFields: function () {
        return [{
            field: 'type',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.TYPE',
            validators: ['strLength[0,16]'],
            type: 'select',
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'maintainType'
            },
            preInsert: true
        }, {
            field: 'maintainCycle',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINCYCLE',
            validators: ['strLength[0,16]'],
            preInsert: true
        }, {
            field: 'maintainProject',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINPROJECT',
            validators: ['strLength[0,40]'],
            preInsert: true
        }, {
            field: 'maintainPerson',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINPERSON',
            validators: ['strLength[0,40]'],
            preInsert: true
        }, {
            field: 'auditor',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.AUDITOR',
            validators: ['strLength[0,20]'],
            preInsert: true
        }, {
            field: 'maintainTime',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.MAINTAINTIME',
            type: 'dateTime',
            preInsert: true
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIPMENT_MAINTAIN.CONCLUSION',
            validators: ['strLength[0,53]'],
            preInsert: true
        },]
    },

    /**
     * 验证记录
     */
    getVerificationRecordEditListColumns: function () {
        return [{
            checkbox: true
        }, {
            index: true
        }, {
            field: 'verificationType',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONTYPE',
            validators: ['strLength[0,10]', 'notEmpty'],
        }, {
            field: 'verificationDetail',
            validators: ['strLength[0,66]', 'notEmpty'],
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONDETAIL'
        }, {
            field: 'verificationTime',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONTIME',
            type: 'dateTime',
            validators: ['notEmpty'],
            width: 140
        }, {
            field: 'validator',
            validators: ['strLength[0,20]', 'notEmpty'],
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VALIDATOR'
        }, {
            field: 'conclusion',
            validators: ['strLength[0,53]', 'notEmpty'],
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.CONCLUSION'
        }]
    },

    getVerificationRecordBaseInfoFormFields: function () {
        return [{
            field: 'verificationType',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONTYPE',
            validators: ['strLength[0,10]', 'notEmpty'],
            preInsert: true
        }, {
            field: 'verificationDetail',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONDETAIL',
            validators: ['strLength[0,66]', 'notEmpty'],
            preInsert: true
        }, {
            field: 'verificationTime',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VERIFICATIONTIME',
            type: 'dateTime',
            validators: ['notEmpty'],
            preInsert: true
        }, {
            field: 'validator',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.VALIDATOR',
            validators: ['strLength[0,20]', 'notEmpty'],
            preInsert: true
        }, {
            field: 'conclusion',
            title: 'T_LIMS_EQUIP_VERIFICATION_RECORD.CONCLUSION',
            validators: ['strLength[0,53]', 'notEmpty'],
            preInsert: true
        },]
    },

    /**
     * 操作记录
     */
    getOperationRecordListColumns: function () {
        return [{
            index: true
        }, {
            field: 'operationDesc',
            title: 'T_LIMS_OPERATIONRECORD.OPERATIONDESC'
        }, {
            field: 'valueBeforeOperation',
            title: 'T_LIMS_OPERATIONRECORD.VALUEBEFOREOPERATION',
            type: 'select',
            search: true,
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'equipState'
            },
        }, {
            field: 'valueAfterOperation',
            title: 'T_LIMS_OPERATIONRECORD.VALUEAFTEROPERATION',
            type: 'select',
            search: true,
            category: 'sys',
            firstBlank: false,
            param: {
                codeCategoryId: 'equipState'
            },
        }, {
            field: 'remark',
            title: 'T_LIMS_OPERATIONRECORD.REMARK'
        }, {
            field: 'createdByName',
            title: 'T_LIMS_OPERATIONRECORD.CREATEDBYNAME'
        }, {
            field: 'operationTime',
            title: 'T_LIMS_OPERATIONRECORD.CREATEDTIME',
            type: 'dateTime',
            width: 140
        }]
    },
})
